package o;

import androidx.annotation.Nullable;

public final class abq {
    public static final abq ˎ = new abq(1.0f);
    private final int ˊ;
    public final float ˋ;
    public final boolean ˏ;
    public final float ॱ;

    public abq(float f) {
        this(f, 1.0f, false);
    }

    public abq(float f, float f2, boolean z) {
        boolean z2 = true;
        amm.ˊ(f > 0.0f);
        if (f2 <= 0.0f) {
            z2 = false;
        }
        amm.ˊ(z2);
        this.ॱ = f;
        this.ˋ = f2;
        this.ˏ = z;
        this.ˊ = Math.round(1000.0f * f);
    }

    public long ॱ(long j) {
        return ((long) this.ˊ) * j;
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        abq o_abq = (abq) obj;
        if (this.ॱ == o_abq.ॱ && this.ˋ == o_abq.ˋ && this.ˏ == o_abq.ˏ) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        return (this.ˏ ? 1 : 0) + ((((Float.floatToRawIntBits(this.ॱ) + 527) * 31) + Float.floatToRawIntBits(this.ˋ)) * 31);
    }
}
